<!--巡林任务安排-->
<template>
<div>
  <el-card class="box-card">
    <div slot="header">
      <span class="header">巡林任务安排</span>
    </div>
    <el-table
      :data="tableData"
      border
      row-key="id"
      style="width: 100%"
    >
      <el-table-column
        prop="location"
        label="实施地点"
        width="150"
      >
      </el-table-column>
      <el-table-column
        prop="number"
        label="作业地块编号"
        width="60"
      >
      </el-table-column>
      <el-table-column label="造林任务(亩)">
        <el-table-column
          prop="controlArea"
          label="控制面积"
          >
        </el-table-column>
        <el-table-column
          prop="afforestationArea"
          label="造林面积"
        >
        </el-table-column>
      </el-table-column>
      <el-table-column
        prop="numberOfAcupoints"
        label="种植穴数(万穴)"
      >
      </el-table-column>
      <el-table-column
        prop="forestSpecies"
        label="林种"
      >
      </el-table-column>
      <el-table-column
        prop="landForms"
        label="地貌"
      >
      </el-table-column>
    </el-table>
  </el-card>
</div>
</template>

<script>
export default {
  name: 'taskArrangement',
  data(){
    return{
      tableData:[
        {
          id:'1',
          location:'红山子乡天太永村',
          number:'1',
          controlArea:'3566',
          afforestationArea:'3272',
          numberOfAcupoints:'36.32',
          forestSpecies:'防风固沙林',
          landForms:'沙地'
        },
        {
          id:'2',
          location:'红山子乡天太永村',
          number:'2',
          controlArea:'3315',
          afforestationArea:'3042',
          numberOfAcupoints:'36.76',
          forestSpecies:'防风固沙林',
          landForms:'沙地'
        },
        {
          id:'3',
          location:'红山子乡天太永村',
          number:'3',
          controlArea:'462',
          afforestationArea:'424',
          numberOfAcupoints:'8.81',
          forestSpecies:'防风固沙林',
          landForms:'沙地'
        },
        {
          id:'4',
          location:'红山子乡天太永村',
          number:'4',
          controlArea:'1483',
          afforestationArea:'1361',
          numberOfAcupoints:'18.11',
          forestSpecies:'防风固沙林',
          landForms:'沙地'
        },
        {
          id:'5',
          location:'合计',
          number:'',
          controlArea:'8826',
          afforestationArea:'8099',
          numberOfAcupoints:'100',
          forestSpecies:'',
          landForms:''
        }
      ]
    }
  }
}
</script>

<style scoped lang="scss">
.box-card{
  height: 390px;
  overflow-y: auto;
}
.header {
  color: #11A983;
}
</style>
